package com.hangsu.train.components.dao;

import com.hangsu.train.components.entity.Wanded;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface WandedDao {
    int deleteByPrimaryKey(Long id);

    int insert(Wanded row);

    Wanded selectByPrimaryKey(Long id);

    List<Wanded> selectAll();

    int updateByPrimaryKey(Wanded row);

    int updateBySelective(Wanded row);

    List<Wanded> list(@Param("wd") Wanded wanded,@Param("skip") long skip,@Param("limit") int limit);

    long count(@Param("wd") Wanded wanded);

    List<Wanded> search(Wanded wanded);
}